package com.share.device.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 工单信息DTO
 * 
 * @author         
 * @date 2025-06-29
 */
@Data
@Schema(description = "工单信息DTO")
public class WorkOrderDTO
{
    /** 工单ID */
    @Schema(description = "工单ID")
    private Integer orderId;

    /** 工单类型 */
    @Schema(description = "工单类型")
    private String orderType;

    /** 关联设备ID */
    @Schema(description = "关联设备ID")
    private Integer deviceId;

    /** 关联站点ID */
    @Schema(description = "关联站点ID")
    private Integer siteId;

    /** 上报人ID */
    @Schema(description = "上报人ID")
    private Integer reporterId;

    /** 处理人ID */
    @Schema(description = "处理人ID")
    private Integer assigneeId;

    /** 问题描述 */
    @Schema(description = "问题描述")
    private String description;

    /** 优先级 */
    @Schema(description = "优先级")
    private String priority;

    /** 工单状态 */
    @Schema(description = "工单状态")
    private String status;

    /** 创建时间 */
    @Schema(description = "创建时间")
    private Date createTime;

    /** 完成时间 */
    @Schema(description = "完成时间")
    private Date completeTime;

    /** 设备编号 */
    @Schema(description = "设备编号")
    private String deviceNo;

    /** 设备名称 */
    @Schema(description = "设备名称")
    private String deviceName;

    /** 站点名称 */
    @Schema(description = "站点名称")
    private String siteName;

    /** 上报人姓名 */
    @Schema(description = "上报人姓名")
    private String reporterName;

    /** 处理人姓名 */
    @Schema(description = "处理人姓名")
    private String assigneeName;

    /** 工单类型名称 */
    @Schema(description = "工单类型名称")
    private String orderTypeName;

    /** 优先级名称 */
    @Schema(description = "优先级名称")
    private String priorityName;

    /** 状态名称 */
    @Schema(description = "状态名称")
    private String statusName;
} 